<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>设置会员比例</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<link href="${ctx }/css/style.css" type="text/css" rel="stylesheet" />
		<script type="text/javascript" src="${ctx }/js/jquery/jquery-1.6.1.min.js"></script>
		<script type="text/javascript">
			$(function() {
				$("#btnSave").click(function() {
					$("form:first").submit();
				});
			});
		</script>
	</head>
	<body>
		<center>
		<s:form action="modifyDiscount" method="post" namespace="/role" target="ifrm">
			<div>

				<div style="width: 513px; height: 30px; text-align: left;">
					当前位置：设置会员优惠比例
				</div>
				<div
					style="width: 513px; background-color: #EDDEA0; height: 30px; border: 1px solid gray; text-align: center;">
					<b>设置会员优惠比例</b>
				</div>
				<div style="width: 513px; height: 45px; background-color: #FBF7E6">
					<br />
					<div style="float: left; width: 30%; height: 45px; text-align: right">
						选择会员类型：
					</div>
					<div style="float: right; width: 62%; height: 45px; text-align: left">
						<s:select list="roles" listKey="id" listValue="roleName" name="role.id"></s:select>
					</div>
				</div>
				<div style="width: 513px; height: 35px; background-color: #FBF7E6">
					<div style="float: left; width: 30%; height: 35px; text-align: right">
						优惠价比：
					</div>
					<div style="float: right; width: 62%; height: 35px; text-align: left">
						<s:textfield name="role.discount"></s:textfield>%
					</div>
					<br />
				</div>

				<div>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<input id="btnSave" type="button" value="提交" class="botton" style="width: 74px; cursor: hand;" />
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<input id="btnRet" type="button" value="返回" class="botton" onclick="self.close();" style="width: 74px; cursor: hand;" />
				</div>

			</div>
		</s:form>
		</center>
		<iframe style="DISPLAY: none" name="ifrm" width="750" height="0"></iframe>
	</body>
</html>
